package com.example.mymatch.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class Pm {
    private int pmId;
    private String pmName;
    private String pmSex;
    private String pmTjr;
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date pmDate;
    private int pmDangid;
    private String pmFjian;

    public int getPmId() {
        return pmId;
    }

    public void setPmId(int pmId) {
        this.pmId = pmId;
    }

    public String getPmName() {
        return pmName;
    }

    public void setPmName(String pmName) {
        this.pmName = pmName;
    }

    public String getPmSex() {
        return pmSex;
    }

    public void setPmSex(String pmSex) {
        this.pmSex = pmSex;
    }

    public String getPmTjr() {
        return pmTjr;
    }

    public void setPmTjr(String pmTjr) {
        this.pmTjr = pmTjr;
    }

    public Date getPmDate() {
        return pmDate;
    }

    public void setPmDate(Date pmDate) {
        this.pmDate = pmDate;
    }

    public int getPmDangid() {
        return pmDangid;
    }

    public void setPmDangid(int pmDangid) {
        this.pmDangid = pmDangid;
    }

    public String getPmFjian() {
        return pmFjian;
    }

    public void setPmFjian(String pmFjian) {
        this.pmFjian = pmFjian;
    }
}